/**
 * 
 */
package com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub};

/**
 * T${bean.numMain}  ${bean.notesMain}
*
 * T${bean.numMain}${bean.numSub}  ${bean.notesSub}    静态参数类
 *
 * <p>
 * 创建时间：${bean.dayTime}  
 * <p>
 *
 * <p>
 * 修改时间：${bean.dayTime}
 * <p>
 *
 * @author ${bean.author}
 *
 * @version V1.0.0
 *
 */
public class ${bean.javaFlieName}CVal {
	
	

	/*
	 * 功能ID
	 */
	public final static String FUNC_ID                            = "T${bean.numMain}${bean.numSub}";
	/*
	 * 数据表 
	 */
	public final static String ${bean.tableName}                   = "${bean.tableName}";
    <#if (bean.systemCodeList)??>
    public final static String TB_BSM_CODE_ML                       = "BSM_CODE_ML";
    </#if>
    <#if (bean.otherCodeList)??>
    <#list (bean.otherCodeList) as otherTable>
    public final static String TB_${otherTable.tableName}           = "${otherTable.tableName}";
    </#list>

    </#if>
	/*
	 * KeyName
	 */
	public final static String KEYNAME_${(bean.pk01)?upper_case}        = "${bean.pk01}";// 组织 主键
	public final static String KEYNAME_${(bean.pk02)?upper_case}        = "${bean.pk02}"; //  主键2
    <#if (bean.pk03)!="">
    public final static String KEYNAME_${(bean.pk03)?upper_case}        = "${bean.pk03}"; //  主键2
    </#if>
    <#if (bean.pk04)!="">
    public final static String KEYNAME_${(bean.pk04)?upper_case}        = "${bean.pk04}"; //  主键2
    </#if>
    <#if (bean.pk05)!="">
    public final static String KEYNAME_${(bean.pk05)?upper_case}        = "${bean.pk05}"; //
    </#if>
    /*
    * KeyName  search
    */
    <#if (bean.searchPk01)?size !=0>
        <#list (bean.searchPk01) as searchBean>
    public final static String KEYNAME_${(searchBean.name)?upper_case}     = "${searchBean.name}"; //
        </#list>
    </#if>

    /*
    * CodeType
    */
    <#if (bean.systemCodeList)?size !=0>
        <#list (bean.systemCodeList) as otherTable>
            public final static String ${otherTable.codeType}                   = "${otherTable.codeType}"; //
        </#list>
    </#if>
    /*
    * keyName
    */
    <#if (bean.systemCodeList)?size !=0>
        <#list (bean.systemCodeList) as otherTable>
            public final static String KEYNAME_${(otherTable.codeId)?upper_case}                   = "${otherTable.codeId}"; //
        </#list>
    </#if>

    <#if (bean.otherCodeList)??>
    <#list (bean.otherCodeList) as otherTable>
    public final static String KEYNAME_${(otherTable.codeId)?upper_case}           = "${otherTable.codeId}";
    </#list>
    </#if>
	
	public final static String LOGGER_NAME = "dbLogger";


    public final static String ERRID_446 = "E446";

    public final static String ERRID_542 = "E542";

}
